home *** CD-ROM | disk | FTP | other *** search
-
- MOVESYS (release 2)
-
- Have you ever gotten tired of going
- assign sys: whatever:
- assign c: sys:c
- assign devs: sys:devs
- assign s: sys:s
- ...
- ...
- in order to avoid "Please insert ..." requesters? Well, here's something
- that will help; a little program that reassigns SYS:, C:, S:, L:, LIBS:,
- DEVS:, and FONTS: all in one step. This new version can be used from either
- the CLI or the Workbench. Actually there are two executables here; the one
- called MoveSys can be used from either CLI or Workbench, and the one called
- MoveSys-C can only be used from CLI. It's smaller. If you want to use the
- full version, move MoveSys and its icon into some workbench drawer that is
- handy and preferably in your CLI search path ... maybe Utilities. If you
- want to use the CLI-only version, copy MoveSys-C to C:MoveSys.
-
- If you're a floppy oriented user, you can use it to painlessly transfer your
- base of operations from one bootable disk to another; if you're a hard disk
- user, you can use it to simplify and perhaps speed up your startup-sequence.
- It can optionally change your current directory. Note that the "pure" bit is
- set; you can make it resident if you want. There's little point in making
- the Workbench version resident, though. (If you got this out of a compressed
- archive, you'll have to set the pure bits yourself cause LHArc does not
- preserve that bit in the archive apparently.)
-
- In CLI, you just give the command MoveSys followed by the name of the
- directory you want SYS: to be assigned to, like this:
-
- 1> movesys dh0:
- or 1> movesys "Workbench1.3:"
-
- If a disk or directory name has spaces in it, you don't necessarily have to
- enclose it in quotes. Unless there's a space at one end of the name.
-
- The thing you assign SYS: to need not be a root directory, as long
- as it has the subdirectories c, s, l, libs, devs, and fonts. It returns 5
- (WARN) if any of the names other than SYS: couldn't be found, or 10 it it
- couldn't find the new SYS: or if the new SYS: contained none of the expected
- subdirectories, or if there's some more drastic failure. It will have no
- effect in this case; as long as at least one of the subdirectories is found
- MoveSys will succeed. It will explain any problem in error messages, and
- will produce no output if everything goes smoothly.
-
- To use it from Workbench, click on the MoveSys icon and then shift-double-
- click a disk or drawer icon. Or click the disk or drawer first and then
- shift-double-click the MoveSys icon. It will assign SYS: to that disk or
- drawer and search for the expected subdirectories in it. If there are any
- errors it will open a console window to report them. The window will be
- erased when you press any key while it is active. Again, it will have no
- effect unless at least one of the expected subdirectories exists. Any
- assigned names that no matching directories are found for will be left with
- their previous values.
-
- Another feature: ordinarily, when used from CLI, MoveSys does not change your
- current directory. But if you put the word "cd" before the pathname to move
- to, it will CD to the new SYS: directory. The "setname" (the string that
- names your current directory; the one AmigaShell puts in your prompt if you
- use "%s") will be set to a copy of the pathname you gave it, rather than to
- the true absolute pathname. Example:
-
- 1.Workbench1.3:> movesys cd dh0:
- 1.dh0:>
-
- ... so if you want a proper prompt you have to either specify the name
- properly in the MoveSys command, or later use the command CD "" (set current
- directory to the empty string in quotes). There is no equivalent of this CD
- option when using MoveSys from Workbench.
-
- MoveSys is by Paul Kienitz, in the public domain. If you have any feedback,
- especially if you find a bug, you can reach me at:
-
- Paul Kienitz
- bbses: try 6430 San Pablo ave.
- Triple-A 415-222-9416 Oakland, CA, 94608
- The Mission 415-967-2021 USA
-